//out: ../css/

* {
    padding: 0;
    margin: 0;
}

.content {
    position: relative;
    margin: auto auto;
    width: 600px;
    height: 600px;
    border: 20px solid pink;
    background-color: black;

    button {
        position: absolute;
        width: 150px;
        height: 50px;
        line-height: 50px;
        font-size: 30px;
        font-weight: 700;
        text-align: center;
        background-color: yellow;
        border-radius: 25px;
        color: tomato;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        &:nth-of-type(2) {
            display: none;
            background-color: purple;
        }
    }
    .head {
        position: absolute;
        left: 40px;
        top: 0;
        width: 20px;
        height: 20px;
        background: url(../img/snake.png) no-repeat;
        background-size: contain;
    }
    .body {
        position: absolute;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background-color: pink;
    }
    .food {
        position: absolute;
        width: 20px;
        height: 20px;
        background: url(../img/food.png) no-repeat;
        background-size: contain;
    }
}